home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Archive Magazine CD 1995
/
Archive Magazine CD 1995.iso
/
discs
/
prog_disc
/
volume_7
/
issue_12
/
quantum
/
!Executor
/
countobj
(
.txt
)
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
RISC OS BBC BASIC V Source
|
1994-07-25
|
464 b
|
19 lines
Reads the BASIC parameter pathname and returns the number of objects in a Filer window in the system variable KS$Line.
len%=2048
buffer len%
"OS_GetEnv"
add%
loop%=0:text$=""
C%=?(add%+loop%)
text$=text$+
loop%+=1
C%=0
text$,""" ")+2
text$=
text$,P%)
(text$)
"XOS_GBPB",10,text$,buffer,999,0,len%,0
,,,number%
("SETEVAL KS$line "+
(number%))